n = int(input().split()[0])
for i in range(0, n):
	print("%d/1"%(i+1), end = '')
	for j in range(1, n - i):
		print(' ',i+1,'/',j+1,sep = '', end = '')
	print("")
